package edu.tsinghua.mrpvc.device;

/**
 * 
 * @author  
 * last updated on 2009-11-24 by Tangjian.
 */
public interface CameraDevice extends BasicDevice {
	public static final String EVENT_TOPIC_CTRL_TV = "863pvc/Device/CameraCtrl/CrtlTv";
	public static final String EVENT_TOPIC_CTRL_CURTAIN = "863pvc/Device/CameraCtrl/CrtlCurtain";
	public static final String EVENT_TOPIC_STATE = "863pvc/Device/CameraCtrl/State";
	public static final String EVENT_PROPER_ID = "ID";
	public static final String EVENT_PROPER_ISVALID = "IsValid";
	public static final String EVENT_PROPER_ACTION = "Action";
	public static final String EVENT_PROPER_DIRECTION = "Direction";
	
	//response to this event
	public static final String EVENT_TOPIC_ISVALID = "863pvc/Device/CameraCtrl/Ctrl/IsValid";
	
	public interface Constants{
		//for TV
		public static final String ACTION_PREV = "prev";
		public static final String ACTION_NEXT = "next";
		public static final String ACTION_BIGGER = "bigger";
		public static final String ACTION_SMALLER = "smaller";
		public static final String ACTION_ROTATE = "rotate";
		
		//for Curtain
		
		public static final String DIR_WEST = "west";
		public static final String DIR_EAST = "east";
		public static final String DIR_NORTH = "north";
		public static final String DIR_SOUTH = "south";
		
		//by fw
		public static final String ISVALID_TURE = "true";
		public static final String ISVALID_FALSE = "false";
	};
}
